import moment from 'moment';
// 命名规范：Arr普通枚举  field下拉字段枚举  Map表格字段枚举

// 表头筛选字段
const headerForm = {};
// 表格字段
const tableColumn = {
  // 表格列表
  matchManagementTableMap: [
    { prop: 'id', label: 'Id', type: 'text' },
    { prop: 'manUsername', label: '男会员', type: 'text' },
    { prop: 'womanUsername', label: '女会员', type: 'text' },
    { prop: 'directionMatchDegree', label: '方向匹配度', type: 'text' },
    { prop: 'specificMatchDegree', label: '细节匹配度', type: 'text' },
    { prop: 'commonQuestionMatchDegree', label: '共同题匹配度', type: 'text' },
    { prop: 'abQuestionMatchDegree', label: 'AB题匹配度', type: 'text' },
    { prop: 'threeOutlooksMatchDegree', label: '三观匹配题', type: 'text' },
    { prop: 'capacityMatchDegree', label: '能力匹配题', type: 'text' },
    { prop: 'appearanceMatchDegree', label: '外表匹配度', type: 'text' },
    { prop: 'wealthMatchDegree', label: '财富匹配度', type: 'text' },
    { prop: 'consumptionMatchDegree', label: '消费观匹配度', type: 'text' },
    { prop: 'cooperateMatchDegree', label: '合作匹配度', type: 'text' },
    { prop: 'interestMatchDegree', label: '兴趣匹配度', type: 'text' },
    { prop: 'marriageMatchDegree', label: '婚姻观匹配度', type: 'text' },
    { prop: 'parentingMatchDegree', label: '育儿观匹配度', type: 'text' },
    { prop: 'sexConceptMatchDegree', label: '性观念匹配度', type: 'text' },
    { prop: 'disgustingMatchDegree', label: '德行匹配度', type: 'text' },
    { prop: 'cognitiveLevelMatchDegree', label: '认知层次匹配度', type: 'text' },
    { prop: 'soulMatchDegree', label: '灵魂匹配度', type: 'text' },
    { prop: 'selfCultivationMatchDegree', label: '修行匹配度', type: 'text' },
    { prop: 'hardwareMatchDegree', label: '硬件匹配度', type: 'text' },
    { prop: 'softwareMatchDegree', label: '软件匹配度', type: 'text' },
    { prop: 'manCheckStatus', label: '男方认证率', type: 'text' },
    { prop: 'womanCheckStatus', label: '女方认证率', type: 'text' },
    { prop: 'manPerfectionLevel', label: '男方完善资料度', type: 'text' },
    { prop: 'womanPerfectionLevel', label: '女方完善资料度', type: 'text' },
    { prop: 'meetStatusStr', label: '是否见面', type: 'text' },
    { prop: 'createTime', label: '创建时间', type: 'text' },
    { prop: 'updateTime', label: '更新时间', type: 'text' },
  ],
};
// 表单字段
const editForm = {
  // 筛选表单
  matchManagementFilterMap: [
    { prop: 'manUsername', type: 'input', label: '男会员', col: 0 },
    { prop: 'womanUsername', type: 'input', label: '女会员', col: 0 },
    {
      prop: 'directionMatchDegree',
      type: 'inputRange',
      label: '方向匹配度',
      children: [
        { prop: 'directionMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'directionMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'specificMatchDegree',
      type: 'inputRange',
      label: '细节匹配度',
      children: [
        { prop: 'specificMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'specificMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'commonQuestionMatchDegree',
      type: 'inputRange',
      label: '共同题匹配度',
      children: [
        { prop: 'commonQuestionMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'commonQuestionMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'abQuestionMatchDegree',
      type: 'inputRange',
      label: 'AB题匹配度',
      children: [
        { prop: 'abQuestionMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'abQuestionMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'threeOutlooksMatchDegree',
      type: 'inputRange',
      label: '三观匹配题',
      children: [
        { prop: 'threeOutlooksMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'threeOutlooksMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'capacityMatchDegree',
      type: 'inputRange',
      label: '能力匹配题',
      children: [
        { prop: 'capacityMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'capacityMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'appearanceMatchDegree',
      type: 'inputRange',
      label: '外表匹配度',
      children: [
        { prop: 'appearanceMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'appearanceMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'wealthMatchDegree',
      type: 'inputRange',
      label: '财富匹配度',
      children: [
        { prop: 'wealthMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'wealthMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'consumptionMatchDegree',
      type: 'inputRange',
      label: '消费观匹配度',
      children: [
        { prop: 'consumptionMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'consumptionMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'cooperateMatchDegree',
      type: 'inputRange',
      label: '合作匹配度',
      children: [
        { prop: 'cooperateMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'cooperateMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'interestMatchDegree',
      type: 'inputRange',
      label: '兴趣匹配度',
      children: [
        { prop: 'interestMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'interestMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'marriageMatchDegree',
      type: 'inputRange',
      label: '婚姻观匹配度',
      children: [
        { prop: 'marriageMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'marriageMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'parentingMatchDegree',
      type: 'inputRange',
      label: '育儿观匹配度',
      children: [
        { prop: 'parentingMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'parentingMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'sexConceptMatchDegree',
      type: 'inputRange',
      label: '性观念匹配度',
      children: [
        { prop: 'sexConceptMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'sexConceptMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'disgustingMatchDegree',
      type: 'inputRange',
      label: '德行匹配度',
      children: [
        { prop: 'disgustingMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'disgustingMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'cognitiveLevelMatchDegree',
      type: 'inputRange',
      label: '认知层次匹配度',
      children: [
        { prop: 'cognitiveLevelMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'cognitiveLevelMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'soulMatchDegree',
      type: 'inputRange',
      label: '灵魂匹配度',
      children: [
        { prop: 'soulMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'soulMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'selfCultivationMatchDegree',
      type: 'inputRange',
      label: '修行匹配度',
      children: [
        { prop: 'selfCultivationMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'selfCultivationMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'hardwareMatchDegree',
      type: 'inputRange',
      label: '硬件匹配度',
      children: [
        { prop: 'hardwareMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'hardwareMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'softwareMatchDegree',
      type: 'inputRange',
      label: '软件匹配度',
      children: [
        { prop: 'softwareMatchDegreeMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'softwareMatchDegreeMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'manCheckStatus',
      type: 'inputRange',
      label: '男方认证率',
      children: [
        { prop: 'manCheckStatusMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'manCheckStatusMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'womanCheckStatus',
      type: 'inputRange',
      label: '女方认证率',
      children: [
        { prop: 'womanCheckStatusMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'womanCheckStatusMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'manPerfectionLevel',
      type: 'inputRange',
      label: '男方完善资料度',
      children: [
        { prop: 'manPerfectionLevelMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'manPerfectionLevelMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    {
      prop: 'womanPerfectionLevel',
      type: 'inputRange',
      label: '女方完善资料度',
      children: [
        { prop: 'womanPerfectionLevelMin', type: 'inputNumber', label: '最小值' },
        { prop: 'separator', type: 'separator', label: '-', col: 4, },
        { prop: 'womanPerfectionLevelMax', type: 'inputNumber', label: '最大值' },
      ],
      col: 0,
    },
    { prop: 'meetStatus', type: 'select', label: '是否见面', optionKey: 'MATCH_MEET_STATUS', col: 0 },
  ],
};
// 其他映射
const otherMap = {};
// 表单字段校验
const editRule = {};
export default {
  headerForm,
  tableColumn,
  editForm,
  otherMap,
  editRule,
};
